package com.dp.mallchat.common.chat.domain.vo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jetbrains.annotations.NotNull;

/**
 * @Author: dupeng
 * @CreateTime: 2024-06-27  19:31
 * @Description: 发送消息请求
 */
@ApiModel(value = "发送消息请求")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SendMessageReq {

    @ApiModelProperty(value = "房间id")
    @NotNull(value = "房间id不能为空")
    private Long roomId;

    @ApiModelProperty(value = "消息类型")
    @NotNull
    private Integer msgType;

    @ApiModelProperty(value = "消息内容")
    @NotNull
    private Object body;
}
